package com.liwei.vip.mall.goods.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liwei.vip.mall.goods.model.Brand;

import java.util.List;

public interface BrandService extends IService<Brand> {

    /***
     * 条件查询
     */
    List<Brand> queryList(Brand brand);

    /**
     * 条件分页查询
     * return Page<Brand>
     */
    Page<Brand> queryPageList(Brand brand,Long currentPage,Long pageSize);

    /**
     *根据分类ID集合查询每个品牌信息
     */
    List<Brand> queryByCategoryId(Integer id);
}
